package com.elecbook.content.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import com.elecbook.content.model.dto.CommentjudgePQuery;
import com.elecbook.content.model.dto.CommnetJudgePageDTO;
import com.elecbook.content.model.po.Commentjudge;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 评论 Mapper 接口
 * </p>
 *
 * @author Z-ken
 * @since 2024/11/03 22:42:36
 */
public interface CommentjudgeMapper extends BaseMapper<Commentjudge> {

    Page<Commentjudge> selectPageVO(Page<Commentjudge> page, @Param("pageDTO") CommnetJudgePageDTO pageDTO);

    Page<Commentjudge> selectPageEntity(IPage<Commentjudge> page, @Param("query") CommentjudgePQuery query);

}
